package com.zd.common.utils;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.sun.xml.internal.bind.v2.runtime.reflect.Lister;
import com.zd.model.Student;

import java.util.ArrayList;

/*
* 对象转json格式
* */
public class ObjectToJson {
//    public String StuConvert(Student student){
//        ObjectMapper  mapper=new ObjectMapper();
//        ArrayList<Student> studentList=new ArrayList<Student>();
//        studentList.add(student);
//        String studentJson
//        return  null;
//    }
}
